Skip to content

ci: repair unresolvable actions/cache SHA pin (v4.2.0)#394

Merged
hyperpolymath merged 2 commits into
mainfrom
claude/ecstatic-feynman-gkqyrk
Jun 21, 2026
Merged

ci: repair unresolvable actions/cache SHA pin (v4.2.0)#394
hyperpolymath merged 2 commits into
mainfrom
claude/ecstatic-feynman-gkqyrk

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Problem

The two reusable workflows pinned actions/cache to
d4373f267a887d77f9eb0683a479ec60b1fe5b2b (commented # v4.2.0), but that
SHA does not correspond to any real actions/cache tag.
It appears to be a
corruption of v4.2.2's d4323d4…, but is not a valid ref.

Every consumer repo that calls these reusable workflows fails CI with:

##[error]Unable to resolve action `actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b`,
unable to find version `d4373f267a887d77f9eb0683a479ec60b1fe5b2b`

Observed in e.g. wokelangiser → job scan / Hypatia Neurosymbolic Analysis.

Fix

Restore the correct immutable v4.2.0 commit
1bd1e32a3bdc45362d1e726936510720a7c30a57, verified against
git ls-remote https://github.com/actions/cache refs/tags/v4.2.0. The existing
# v4.2.0 version comment is preserved and is now accurate.

This is a surgical repair of the broken hash that keeps the originally
documented version, rather than a version bump to the moving v4 tag.

Files changed

  • .github/workflows/governance-reusable.yml
  • .github/workflows/hypatia-scan-reusable.yml
-        uses: actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b # v4.2.0
+        uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0

Verification

  • 1bd1e32a3bdc45362d1e726936510720a7c30a57refs/tags/v4.2.0 (upstream git ls-remote).
  • git grep d4373f267a887d77f9eb0683a479ec60b1fe5b2b → no remaining matches.

🤖 Generated with Claude Code

https://claude.ai/code/session_019jyAkRNSMqEJaRhvpned2K


Generated by Claude Code

claude added 2 commits June 21, 2026 10:46
The pin actions/cache@d4373f2 (commented
"# v4.2.0") does not correspond to any real actions/cache tag. Consumer
repos fail their CI with:

  Unable to resolve action `actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b`,
  unable to find version `d4373f267a887d77f9eb0683a479ec60b1fe5b2b`

This broke the Hypatia scan and governance reusable workflows wherever
they are called (e.g. wokelangiser "scan / Hypatia Neurosymbolic
Analysis").

Restore the correct immutable v4.2.0 commit
(1bd1e32a3bdc45362d1e726936510720a7c30a57), preserving the existing
version comment.

Affected:
- .github/workflows/governance-reusable.yml
- .github/workflows/hypatia-scan-reusable.yml

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019jyAkRNSMqEJaRhvpned2K
The "Build Hypatia scanner" step in the scan and governance reusable
workflows still assumed the old hypatia layout: it ran
`cd scanner && mix escript.build && mv hypatia ../hypatia-v2`. The
hyperpolymath/hypatia repo has since been restructured so mix.exs lives
at the repo root and there is no scanner/ subdirectory, so the step died
with "cd: scanner: No such file or directory" (exit 1), failing the
"scan / Hypatia Neurosymbolic Analysis" and "governance / Validate
Hypatia Baseline" jobs.

Build the escript (escript name: hypatia, per hypatia's mix.exs) directly
from the cloned repo root. hypatia-cli.sh — which the scan step invokes —
already prefers the root-level `hypatia` binary and self-builds it the
same way, so this realigns the explicit pre-build step with the current
layout.

Affected:
- .github/workflows/governance-reusable.yml
- .github/workflows/hypatia-scan-reusable.yml

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019jyAkRNSMqEJaRhvpned2K
@hyperpolymath hyperpolymath marked this pull request as ready for review June 21, 2026 10:52
@hyperpolymath hyperpolymath merged commit d72fe5a into main Jun 21, 2026
12 of 14 checks passed
@hyperpolymath hyperpolymath deleted the claude/ecstatic-feynman-gkqyrk branch June 21, 2026 10:52
hyperpolymath pushed a commit that referenced this pull request Jun 21, 2026
Diagnose-and-record audit for the estate-wide
`scan / Hypatia Neurosymbolic Analysis` failure (2026-06-20/21):

  Unable to resolve action actions/cache@d4373f2

Root cause: the corrupt SHA (a corruption of v4.2.2's d4323d4…) was pinned
centrally in the two reusable workflows (hypatia-scan-reusable.yml,
governance-reusable.yml) — zero consumer workflows carried it. Already
repaired and merged in standards#394 (d72fe5a): re-pinned to the genuine
v4.2.0 commit 1bd1e32a…, verified against upstream `git ls-remote`.

The audit also documents the propagation caveat (consumers pin reusables by
standards SHA, so the post-#394 "Check Workflow Staleness" red is expected
drift pending gitbot-fleet enroll-repos re-pin to d72fe5a+) and records two
out-of-scope nextgen-databases findings (K9 pedigree missing metadata.name;
trusted-base reduction policy red).

Adds .adoc + .a2ml companion, mirroring audit-hypatia-pin-orphan-2026-05-27.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0144t85ipupFBhd9eJ8t9vaC
hyperpolymath added a commit that referenced this pull request Jun 21, 2026
…ir (#396)

## What

Adds a diagnose-and-record audit (`.adoc` + `.a2ml` companion) for the
estate-wide `scan / Hypatia Neurosymbolic Analysis` failure observed
2026-06-20/21:

```
Unable to resolve action actions/cache@d4373f2
(unable to find version d4373f267a887d77f9eb0683a479ec60b1fe5b2b)
```

This is **documentation only** — the underlying fix already shipped.

## Root cause (already fixed in #394)

The corrupt SHA was pinned **centrally** in the two reusable workflows
(`hypatia-scan-reusable.yml`, `governance-reusable.yml`) — zero consumer
workflows carried it. It is a corruption of v4.2.2's real commit
`d4323d4…`.
**standards#394** (merged 2026-06-21, commit `d72fe5a`) already
re-pinned both
to the genuine `v4.2.0` commit `1bd1e32a…`.

## Independent verification (this session)

Via `git ls-remote https://github.com/actions/cache`:

| SHA | Upstream ref | Resolves? |
|---|---|---|
| `d4373f26…` (corrupt) | (none) | ✗ bogus |
| `1bd1e32a…` (repair) | `refs/tags/v4.2.0` | ✓ |
| `0057852b…` | `v4` + `v4.3.0` | ✓ |
| `27d5ce7f…` | `main` + `v5` + `v5.0.5` | ✓ |

`git grep d4373f…` across standards + hypatia → zero matches.

## Why the audit matters (propagation caveat)

Consumers pin these reusables by **standards commit SHA**, not `@main`
(`@5eb28d7…` / `@861b5e9…`). So the post-#394 `Check Workflow
Staleness`
red is **expected drift** — the signal that a gitbot-fleet
`enroll-repos`
re-pin to `d72fe5a`+ is still pending, not a new defect. The audit also
records two out-of-scope `nextgen-databases` findings (K9 pedigree
missing
`metadata.name`; trusted-base reduction policy red).

Full status recorded on the umbrella: hyperpolymath/hypatia#464.
Cross-refs
hyperpolymath/nextgen-typing#69.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_0144t85ipupFBhd9eJ8t9vaC

---
_Generated by [Claude
Code](https://claude.ai/code/session_0144t85ipupFBhd9eJ8t9vaC)_

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants